package com.wjp.esp8266.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class esp8266Controller {

    public static boolean isTrue = false;

    @GetMapping("esp8266Controller1")
    public boolean esp8266Controller1(){
        isTrue = !isTrue;
        return isTrue;
    }
}
